package com.liting.uitest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_interact_record")
public class InteractRecord {
    public final static Short InteractType_GOMS = 1;
    public final static Short InteractType_Fanying = 2;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @TableField(value = "type")
    private Short type;

    @TableField(value = "result")
    private String result;

    @TableField(value = "process_info")
    private String processInfo;

    @TableField(value = "img_url")
    private String imgUrl;

    @TableField(value = "txt_url")
    private String txtUrl;


}
